package com.promise.jokerdream.response.phone

/**
 * 江湖长梦XML响应数据
 */
data class FightKnightDreamXmlResponse(
    override val actionResult: String = "",
    
    // 事件列表
    val events: List<EventData> = emptyList(),
    
    // 副本信息
    val dungeonInfo: DungeonInfo? = null
): BaseXmlResponse

/**
 * 事件数据
 */
data class EventData(
    val eventId: String,
    val eventType: EventType = EventType.BATTLE,
    val level: Int = 1,
    val url: String = ""
)

/**
 * 事件类型枚举
 */
enum class EventType(val value: Int, val text: String) {
    ADVENTURE(1, "奇遇"),  // 奇遇
    SHOP(2, "商店"),       // 商店
    BATTLE(3, "战斗"),     // 战斗
    UNKNOWN(0, "未知")     // 未知
}

/**
 * 副本信息
 */
data class DungeonInfo(
    val name: String,
    val currentDay: Int,
    val goldEarned: Int
)
